package com.lagou.service;

import com.lagou.model.Result;

/**
 * <p>Title: IUserService</p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2020</p>
 * <p>Company: http://www.ubisys.com.cn/</p>
 *
 * @Auther: cw
 * @Date: 2020/7/22 16:31
 */
public interface IUserService {


    public Result register(String email, String password, String code);

    public boolean isRegistered(String email);

    public Result login(String email, String password);

    public String getEmailByToken(String tokenText);

}

